﻿@model IEnumerable<orienta.Helper.UsuarioInfo>
@{
    ViewBag.Title = "Index";
    String estiloTR = "alt";
    Layout = "~/Views/Shared/_LayoutPopUp.cshtml";
}
<link type="text/css" rel="stylesheet" href="@Url.Content("~/css/grilla.css")" />

<div id="widget_preview_temp_2" class="wfo_widget fc picked" onmousedown="pickWidget(this)" title="Click to edit. Drag to reorder." style="z-index: 500;">
<table cellspacing="0" class="choices ">
<thead>
    <tr>
        <th>
            C&oacute;digo Usuario
        </th>
        <th>
            Dependencia
        </th>
        <th>
            Fecha
        </th>
        <th>Eliminar</th>
    </tr>
<thead>
<tbody class="autohighlight">
@foreach (var item in Model) {
    if (estiloTR.Equals("alt"))
    {
        estiloTR = "";
    }
    else
    {
        estiloTR = "alt";
    }
    <tr id="entryRow1" class="@estiloTR">
        <td>
            @Html.DisplayFor(modelItem => item.DescUsuario)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DescDependencia)
        </td>
        <td></td>
        <td>
        <a href="javascript:eliminarBandeja(@item.IdUsuarioBandeja);">Eliminar</a>
        </td>
    </tr>
}
</tbody> 
</table>
</div>
